\hypertarget{class____Laser}{}\section{\+\_\+\+\_\+\+Laser Class Reference}
\label{class____Laser}\index{\+\_\+\+\_\+\+Laser@{\+\_\+\+\_\+\+Laser}}


产生一个激光，但需要实时更新  




{\ttfamily \#include $<$laser.\+h$>$}



Collaboration diagram for \+\_\+\+\_\+\+Laser\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{da/d61/class____Laser__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class____Laser_a7c3eec576bc9192c3ed27d76ba4b640e}{}{\bfseries \+\_\+\+\_\+\+Laser} (const int \hyperlink{class____Laser_a798ffe2c5a2cd1376d45f24b546e1d80}{id}, const int \hyperlink{class____Laser_a7bc70ac6861f0ad5e834df4ed5d14f72}{type}, const double \&dt, const double \&\hyperlink{class____Laser_ac70915a139c1f6e59441c2062dddb3d5}{t\+\_\+center}, const double \&duration\+\_\+in\+\_\+um, const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ double $>$ \hyperlink{class____Laser_a97f1a2e98043e789ebffe308663e9ee0}{pos}, const double \&wavelength, const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ double $>$ \&\hyperlink{class____Laser_a8608b499056e87e48b915defa2ee95a1}{xymin}, const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ double $>$ \&\hyperlink{class____Laser_ab22af491f9052eb9dcb94c3e35dc0ec8}{xymax}, const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ long $>$ \&\hyperlink{class____Laser_a8ea7ac28593605c07d254f9e84a8d931}{gridsize}, const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ double $>$ \&\hyperlink{class____Laser_a57188568219826c448ed6b030601bb13}{xysize}, const double \&\hyperlink{class____Laser_a04dacd0405e63c4cd7b3ac5977f7fe8f}{waist}, const double \&amplitude, const int \&\hyperlink{class____Laser_a60f5638443ebedce6cb7cd692c4430a4}{polarization})\label{class____Laser_a7c3eec576bc9192c3ed27d76ba4b640e}

\item 
\hypertarget{class____Laser_a91dc75764bea7158fd57fecef11b6e0a}{}void \hyperlink{class____Laser_a91dc75764bea7158fd57fecef11b6e0a}{update} ()\label{class____Laser_a91dc75764bea7158fd57fecef11b6e0a}

\begin{DoxyCompactList}\small\item\em 更新一步 \end{DoxyCompactList}\item 
\hypertarget{class____Laser_a64ea679d430642f19e15fa1b87da002b}{}void \hyperlink{class____Laser_a64ea679d430642f19e15fa1b87da002b}{setting\+\_\+fields} (\hyperlink{class____Simbox}{\+\_\+\+\_\+\+Simbox} \&mysimbox)\label{class____Laser_a64ea679d430642f19e15fa1b87da002b}

\begin{DoxyCompactList}\small\item\em 对mysimbox设置 \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class____Laser_afbc51bee6a059b019bc63cfb5399a988}{}int {\bfseries is\+\_\+able}\label{class____Laser_afbc51bee6a059b019bc63cfb5399a988}

\item 
\hypertarget{class____Laser_a3adbde5637037815e00d66856233efea}{}double \hyperlink{class____Laser_a3adbde5637037815e00d66856233efea}{delta\+\_\+t}\label{class____Laser_a3adbde5637037815e00d66856233efea}

\begin{DoxyCompactList}\small\item\em 更新时间间隔dt \end{DoxyCompactList}\item 
\hypertarget{class____Laser_a7bc70ac6861f0ad5e834df4ed5d14f72}{}int \hyperlink{class____Laser_a7bc70ac6861f0ad5e834df4ed5d14f72}{type}\label{class____Laser_a7bc70ac6861f0ad5e834df4ed5d14f72}

\begin{DoxyCompactList}\small\item\em type 0\+: 线偏振，1, 圆偏真 \end{DoxyCompactList}\item 
\hypertarget{class____Laser_a57188568219826c448ed6b030601bb13}{}\hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ double $>$ \hyperlink{class____Laser_a57188568219826c448ed6b030601bb13}{xysize}\label{class____Laser_a57188568219826c448ed6b030601bb13}

\begin{DoxyCompactList}\small\item\em 空间dx dy \end{DoxyCompactList}\item 
\hypertarget{class____Laser_a798ffe2c5a2cd1376d45f24b546e1d80}{}int \hyperlink{class____Laser_a798ffe2c5a2cd1376d45f24b546e1d80}{id}\label{class____Laser_a798ffe2c5a2cd1376d45f24b546e1d80}

\begin{DoxyCompactList}\small\item\em 激光的id \end{DoxyCompactList}\item 
\hypertarget{class____Laser_ad0bbaf48f79d1dd5154dd667c716cd41}{}long \hyperlink{class____Laser_ad0bbaf48f79d1dd5154dd667c716cd41}{t\+\_\+now}\label{class____Laser_ad0bbaf48f79d1dd5154dd667c716cd41}

\begin{DoxyCompactList}\small\item\em 记录当前地多少个dt \end{DoxyCompactList}\item 
\hypertarget{class____Laser_ac70915a139c1f6e59441c2062dddb3d5}{}double \hyperlink{class____Laser_ac70915a139c1f6e59441c2062dddb3d5}{t\+\_\+center}\label{class____Laser_ac70915a139c1f6e59441c2062dddb3d5}

\begin{DoxyCompactList}\small\item\em 起始时间和脉冲时间宽度 \end{DoxyCompactList}\item 
\hypertarget{class____Laser_aad1afa1d701ea6544128cf84d13eb9b8}{}double {\bfseries duration}\label{class____Laser_aad1afa1d701ea6544128cf84d13eb9b8}

\item 
\hypertarget{class____Laser_a1fc2d88b82fd2efe9db5513a95f3d9bb}{}double \hyperlink{class____Laser_a1fc2d88b82fd2efe9db5513a95f3d9bb}{amp}\label{class____Laser_a1fc2d88b82fd2efe9db5513a95f3d9bb}

\begin{DoxyCompactList}\small\item\em 脉冲电场振幅 \end{DoxyCompactList}\item 
\hypertarget{class____Laser_a846870a5d8de3cc078ddd66700996a63}{}double \hyperlink{class____Laser_a846870a5d8de3cc078ddd66700996a63}{omega}\label{class____Laser_a846870a5d8de3cc078ddd66700996a63}

\begin{DoxyCompactList}\small\item\em 激光频率 \end{DoxyCompactList}\item 
\hypertarget{class____Laser_a04dacd0405e63c4cd7b3ac5977f7fe8f}{}double \hyperlink{class____Laser_a04dacd0405e63c4cd7b3ac5977f7fe8f}{waist}\label{class____Laser_a04dacd0405e63c4cd7b3ac5977f7fe8f}

\begin{DoxyCompactList}\small\item\em 束腰宽度 \end{DoxyCompactList}\item 
\hypertarget{class____Laser_a4278e55cd5f57a214d2fdb5be788a17f}{}vector$<$ \hyperlink{class____Vect3}{\+\_\+\+\_\+\+Vect3}$<$ double $>$ $>$ \hyperlink{class____Laser_a4278e55cd5f57a214d2fdb5be788a17f}{efields}\label{class____Laser_a4278e55cd5f57a214d2fdb5be788a17f}

\begin{DoxyCompactList}\small\item\em 生成的电场信息 \end{DoxyCompactList}\item 
\hypertarget{class____Laser_a425ffb2d0b73f19e1d10d364ea214202}{}vector$<$ \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ long $>$ $>$ \hyperlink{class____Laser_a425ffb2d0b73f19e1d10d364ea214202}{position}\label{class____Laser_a425ffb2d0b73f19e1d10d364ea214202}

\begin{DoxyCompactList}\small\item\em 与电场信息对应的位置 \end{DoxyCompactList}\item 
\hypertarget{class____Laser_a8ea7ac28593605c07d254f9e84a8d931}{}\hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ long $>$ \hyperlink{class____Laser_a8ea7ac28593605c07d254f9e84a8d931}{gridsize}\label{class____Laser_a8ea7ac28593605c07d254f9e84a8d931}

\begin{DoxyCompactList}\small\item\em 当前场群的大小 \end{DoxyCompactList}\item 
\hypertarget{class____Laser_a8608b499056e87e48b915defa2ee95a1}{}\hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ double $>$ \hyperlink{class____Laser_a8608b499056e87e48b915defa2ee95a1}{xymin}\label{class____Laser_a8608b499056e87e48b915defa2ee95a1}

\begin{DoxyCompactList}\small\item\em 当前box的xymin \end{DoxyCompactList}\item 
\hypertarget{class____Laser_ab22af491f9052eb9dcb94c3e35dc0ec8}{}\hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ double $>$ \hyperlink{class____Laser_ab22af491f9052eb9dcb94c3e35dc0ec8}{xymax}\label{class____Laser_ab22af491f9052eb9dcb94c3e35dc0ec8}

\begin{DoxyCompactList}\small\item\em 当前box的ximax \end{DoxyCompactList}\item 
\hypertarget{class____Laser_a97f1a2e98043e789ebffe308663e9ee0}{}\hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ double $>$ \hyperlink{class____Laser_a97f1a2e98043e789ebffe308663e9ee0}{pos}\label{class____Laser_a97f1a2e98043e789ebffe308663e9ee0}

\begin{DoxyCompactList}\small\item\em 激光发射的中心位置 \end{DoxyCompactList}\item 
\hypertarget{class____Laser_ae4c0afc11f2dffab26ce9475c02364f1}{}long \hyperlink{class____Laser_ae4c0afc11f2dffab26ce9475c02364f1}{x}\label{class____Laser_ae4c0afc11f2dffab26ce9475c02364f1}

\begin{DoxyCompactList}\small\item\em 中间变量，用于存储 激光横向延伸的网格 \end{DoxyCompactList}\item 
\hypertarget{class____Laser_a60f5638443ebedce6cb7cd692c4430a4}{}int \hyperlink{class____Laser_a60f5638443ebedce6cb7cd692c4430a4}{polarization}\label{class____Laser_a60f5638443ebedce6cb7cd692c4430a4}

\begin{DoxyCompactList}\small\item\em 偏振方向： \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
产生一个激光，但需要实时更新 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
laser.\+h\end{DoxyCompactItemize}
